class Student{
    //普通成员变量
    public int score;
    public String name;
    public int age;
    //静态成员变量【类变量】，不属于对象，通过类名访问
    public static String classes = "java";  //static修饰的成员变量，放方法区不放在堆区，每个这个类调用的话都有这个属性

    public Student(int score, String name, int age) {
        this.score = score;
        this.name = name;
        this.age = age;
    }
}

public class Test {
    public static void main(String[] args) {
        Stu stu1 = new Stu(10,"杨子豪",20);
    }
}
